<style type="text/css">
    .add-issuer-control {
        height: 35px;
    }
</style>
<div class="portlet box blue " id="add_ecs_window"
     style="display:none;width: 900px;height:600px;position: fixed;left: 50%;top: 100px;overflow: hidden;">
    <div class="portlet-title">
        <div class="caption">
            <i class="icon-reorder"></i>添加ECS服务器
        </div>
        <div class="tools">
            <a href="javascript:;" class="remove"></a>
        </div>
    </div>
    <div class="portlet-body form" style="overflow-y:scroll;height:545px;">
        <!-- BEGIN FORM-->
        <form action="#" class="form-horizontal form-bordered form-row-stripped">
            <input type="hidden" id="add_ecs_window_id">
            <div class="control-group">
                <label class="control-label">
                    主机名
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_hostname">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    内网IP
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_inner_ip">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    外网IP
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_outer_ip">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    配置
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_config">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    位置（阿里云可用区）
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_location">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    环境分级
                </label>

                <div class="controls add-issuer-control">
                    <select class="m-wrap span12" id="add_ecs_window_environment">
                        <option value="">请选择</option>
                        <option value="生产">生产</option>
                        <option value="预发布">预发布</option>
                        <option value="测试">测试</option>
                    </select>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    操作系统
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_os">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    SSH端口
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_port">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    主要用途
                </label>

                <div class="controls">
                    <input type="text" class="m-wrap span12" id="add_ecs_window_used_for">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">
                    主要使用者
                </label>

                <div class="controls add-issuer-control">
                    <select class="m-wrap span12" multiple id="add_ecs_window_users">
                    </select>
                </div>
            </div>

            <div class="form-actions">
                <button type="button" class="btn blue" id="add_ecs_window_save_btn">
                    <i class="icon-ok"></i>
                    保存
                </button>
                <button type="button" class="btn" id="add_ecs_window_cancel_btn">
                    取消
                </button>
            </div>
        </form>
        <!-- END FORM-->
    </div>
</div>
